import config from "@/config"
import http from "@/utils/request"

export default {
	loadValidateCode:{
		url: `${config.API_URL}/api/Login/LoadValidateCode`,
		name: "获取验证码",
		get: async function(data={}){
			return await http.get(this.url, data);
		}
	},
	 userLogin: {
		url: `${config.API_URL}/api/Login/UserLogin`,
		name: "登录获取TOKEN",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	}
}